package com.itheima.pojo;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: Order
 * @Description: 预约设置
 * @Author: 热爱生活の李
 * @Date: 2022/2/10 16:16
 */
@Data
@ToString
@NoArgsConstructor
public class OrderSetting implements Serializable{
    private Integer id ;
    private Date orderDate;//预约设置日期
    private int number;//可预约人数
    private int reservations ;//已预约人数

    public OrderSetting(Date orderDate, int number) {
        this.orderDate = orderDate;
        this.number = number;
    }
}
